package com.qf.servlet;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/20 13:57
 */
public class TestService implements Runnable{
    @Override
    public void run() {
        long millis = System.currentTimeMillis();
        try {
            Thread.sleep(5000);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        long end = System.currentTimeMillis();
        System.out.println(end-millis);
    }
}
